home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-03-10 | 1.6 KB | 54 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="7"
- "COUNT"="3"
- "UIPATH"="Network\TCP/IP Hardening
- "NAME"="SYN Attack Protection"
- "OSVERSION"="000101"
- "VERSION"="1.01"
- "LANGUAGE"="VBScript"
- "WARNING"="1"
- "TEXT 1"="No SYN protection (Default)"
- "TEXT 2"="Reduce retransmission retries, delay route cache entries (normal)"
- "TEXT 3"="Same as above plus delay indication (very rarely used)"
- "DESCRIPTION 1"="Windows, be default, does not have any protection against so called SYN attacks."
- "DESCRIPTION 2"="In Windows 2000 and upwards you can activate an build-in protection against this type of attacks by using these settings."
- "DESCRIPTION 3"="If you decide to activate this function, please note the "SYN Attack Protection Triggers" as well."
- "DESCRIPTION 4"="For more information about TCP/IP Hardening, see http://www.winnetmag.com/articles/index.cfm?articleid=23918"
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
-
- sP="HKLM\System\CurrentControlSet\Services\TcpIp\Parameters\SynAttackProtect"
-
- Sub Plugin_Initialize
- i=RegReadValue(sP)
-
- if i=0 or IsEmpty(i) then
- SetUIElement 1,true
- elseif i=1 then
- SetUIElement 2,true
- else
- SetUIElement 3,true
- end if
-
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- if RegValueExists(sP) then Call RegDeleteValue(sP)
- elseif GetUIElement(2)=true then
- Call RegWriteValue(sP,1,2)
- else
- Call RegWriteValue(sP,2,2)
- end if
-
- Call Restart()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-